<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class supplier_type extends Model
{
    //供应商账户类别列表
    protected $table = 'supplier_type';
    public $timestamps = false;
    protected $fillable = ['typename','supplier_id','zhanghao','name','kaihu'];
    public function crm_supplier()
    {
    	return $this->belongsTo('App\crm_supplier','supplier_id','id');
    }
}
